<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/6/3
 * Time: 15:35
 */

namespace Weixin\Request\User_weixin;


use Common\Common\Request;

class AddUserWeixinRequest extends Request
{
    private $weixin_id;
    private $user_id;

    public function issetWeixinId()
    {
        return $this->is_set($this->weixin_id);
    }

    public function issetUserId()
    {
        return $this->is_set($this->user_id);
    }

    public function verifyWeixinId()
    {
        return is_numeric($this->weixin_id);
    }

    public function verifyUserId()
    {
        return is_numeric($this->user_id);
    }

    public function IsWeixinIdInRange()
    {
        return $this->weixin_id > 0;
    }

    public function IsUserIdInRange()
    {
        return $this->user_id > 0;
    }

    public function setWeixinId($weixin_id)
    {
        $this->weixin_id = $weixin_id;
    }

    public function setUserId($user_id)
    {
        $this->user_id = $user_id;
    }

    public function getWeixinId()
    {
        return $this->weixin_id;
    }

    public function getUserId()
    {
        return $this->user_id;
    }
}